package mylibrary.properties;

import java.io.BufferedInputStream;
import java.io.FileInputStream;
import java.io.IOException;
import java.util.Properties;

public class Test {

	public static void main(String[] args) throws IOException {
		
		Test test = new Test();
		
		test.abc();
		
	}
	
	public void abc() throws IOException {
		
		Properties prop = new Properties();
		
		prop.load(getClass().getResourceAsStream("test.properties"));
		
		System.out.println(prop.getProperty("111"));
		
		System.out.println(System.getProperty("file.encoding"));
	}
}
